<template>
  <van-nav-bar
  :title="title"
  left-arrow
  safe-area-inset-top
  fixed
  @click-left="$router.back()"
  >
    <template #title>
      <slot name="title">{{title}}</slot>
    </template>
    <template #right>
      <slot name="right"></slot>
    </template>
  </van-nav-bar>
</template>
<script setup>
defineProps(['title']);
</script>
